﻿using System;
using umbraco.BasePages;
using umbraco.uicontrols;

namespace tswe.log
{
    public partial class manager : UmbracoEnsuredPage
    {

        # region members

        public TabPage logViewLogs;
        public TabPage logDeleteEntries;

        # endregion members

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            // Tab setup
            logViewLogs = TabView1.NewTabPage("View Logs");
            logViewLogs.Controls.Add(viewLog);
            viewLog.InitControlItems();

            logDeleteEntries = TabView1.NewTabPage("Delete Entries");
            logDeleteEntries.Controls.Add(deleteLog);
            deleteLog.InitControlItems();
        }
    }
}
